'use strict';
// app/router/onlineCenter.js
module.exports = app => {
  const { router, controller } = app;
  const handleUrl = app.middleware.handleUrl();
  // 公司简介
  router.redirect('/cms/about', '/cms/about/info', 301);
  router.get('/cms/about/info', handleUrl, controller.about.about.index);
  // 营业网点
  router.get('/cms/about/location', handleUrl, controller.about.about.location);
  // 信息公示
  router.get('/cms/about/disclosure', handleUrl, controller.base.list.index);
  router.get('/cms/about/disclosure/detail', handleUrl, controller.base.detail.index);
  // 诚聘英才
  router.get('/cms/about/recruitment', handleUrl, controller.about.about.recruitment);
};
